package cn.ucai.day03_DuoTai;

public class Child extends Father{  
    public String name = "child";  
    //子类基本方法  
    public void childMethod()  
    {  
        System.out.println("子类基本方法！");  
    }  
    //子类覆盖父类方法  
    public void overrideMethod()  
    {  
        System.out.println("子类覆盖父类方法！");  
    }  
    
}